﻿using Api.Core.Common.Attributes;
using Api.Core.Model.Module;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Api.Core.IServices.Module
{
    public interface IModuleInfoService : IBaseServices<ModuleEntity>
    {
        [TransactionAttribute]
        Task<bool> AddRoleModule(int id, string ids);
        Task<List<ModuleEntity>> GetMenus(string userId);
    }
}
